package com.itheima.service;

import com.alibaba.dubbo.config.annotation.Service;
import lombok.extern.slf4j.Slf4j;

@Service
@Slf4j
public class UserServiceImpl implements UserService{
    public boolean login(String username, String password) {
        log.debug("service_provide...u:"+username+" p:"+password);
        if("admin".equals(username) && "123".equals(password)){
            return true;
        }
        return false;
    }
}
